package io.seata.sample.entity;

import lombok.Data;

/**
 * @Author: linKe
 * @Date: 2022/1/25 10:23
 * @FileName: Storage
 * @version: 1.0
 * @Description: 描述
 */
@Data
public class Stock {

    private Long id;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 总库存
     */
    private Integer total;

    /**
     * 已用库存
     */
    private Integer used;

    /**
     * 剩余库存
     */
    private Integer residue;
}

